#include <stdio.h>
int max(int a, int b, int c);
int main(int argc, char *argv[])
{
    int x = 5;
    int y = 9;
    int z = 7;
    printf("%d\n", max(x, y, z));
    return 0;
}
int max(int a, int b, int c)
{
    return (a > b ? a : b) > c ? (a > b ? a : b) : c;
}
